public static XAttribute Attribute( XName n, IEnumerable<Point> v, IEnumerable<Point> defval )
Parameters
- n
- the attribute name, often the same as the data's property name
- v
- the property value
- defval
- the default value for the property
Return Value
an
XAttribute
or null